//
//  LPPNavController.m
//  Lottery
//
//  Created by 刘盼 on 16/1/21.
//  Copyright © 2016年 lhheh. All rights reserved.
//

#import "LPPNavController.h"

@interface LPPNavController ()

@end

@implementation LPPNavController

- (void)viewDidLoad {
    [super viewDidLoad];
    //背景颜色
    [self.navigationBar setBackgroundImage:[UIImage imageNamed:@"NavBar64"] forBarMetrics:UIBarMetricsDefault];
    //title字体颜色
    [self.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
     //back字体颜色
    [self.navigationBar setTintColor:[UIColor whiteColor]];
    
}

-(void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    //跳转时隐藏tabbar栏
    viewController.hidesBottomBarWhenPushed = YES;
    
    [super pushViewController:viewController animated:YES];
}

@end
